﻿
namespace Wx.Standard.Options
{
    public class PayOption
    {
        public PayOption() {
            this.pay_sign_type = "MD5";
        }
        /// <summary>
        /// 支付账户的微信ID 关联服务号的APPID
        /// </summary>
        public string pay_appid { get; set; }
        /// <summary>
        /// 微信支付商户号
        /// </summary>
        public string pay_mchid { get; set; }
        /// <summary>
        /// 签名算法，默认为MD5，支持HMAC-SHA256和MD5。
        /// </summary>
        public string pay_sign_type { get; set; }
        /// <summary>
        /// 加密密钥
        /// </summary>
        public string pay_sign_key { get; set; }
        /// <summary>
        /// SSL证书目录 相对路径（仅退款、撤销订单时需要）
        /// </summary>
        public string pay_sslpath { get; set; }
        /// <summary>
        /// 证书密码
        /// </summary>
        public string pay_sslpassword { get; set; }
        /// <summary>
        /// 支付异步消息回调
        /// </summary>
        public string pay_notifyurl { get; set; }
        /// <summary>
        /// 退款异步通知地址
        /// </summary>
        public string refund_notifyurl { get; set; }
    }
}
